var M=require("ming_node");
const app= M.server()

const ModBusTcpSlavePlugin= require("./ModBusTcpSlavePlugin.js");
modBusRtuSlavePlugin=  new ModBusRtuSlavePlugin({
    com:"COM8",
    brand:9600,
    async getV(addr){
        return 1;
    },
    async setV(addr,v){
        console.log(addr,v);
    }

})

app.listen(8888);

